
<div class="body">   
    <h2><?php echo getLang('Search'). ': '.$key?> </h2>    
    <?php
    if($countall==0)
    {
      echo '<div class="notfound">'.getLang('Not found result').'</div>';  
    }
    ?>
    <table>
        <tr>
            <td valign="top">
                <div id="tabs">
                    <?php if($countsearch[0]>0){?>
                        <a><?php echo getLang('Product')?> (<?php echo $countsearch[0]?>)</a>
                    <?php }?>
                    <?php if($countsearch[1]>0){?>
                        <a><?php echo getLang('Category')?> (<?php echo $countsearch[1]?>)</a>
                    <?php }?>
                    <?php if($countsearch[2]>0){?>
                        <a><?php echo getLang('Content')?> (<?php echo $countsearch[2]?>)</a>
                    <?php }?>
                    <?php if($countsearch[3]>0){?>
                        <a><?php echo getLang('News')?> (<?php echo $countsearch[3]?>)</a>
                    <?php }?>
                </div>
            </td>
            <td valign="top">
                <div id="tabs_pages">
                    <div class="page">
                        <?php echo $products?>
                    </div>
                    
                    <div class="page">
                        <?php echo $categories?>
                    </div>
                    
                    <div class="page">
                        <?php echo $contents?>
                    </div>
                    
                    <div class="page">
                        <?php echo $news?>
                    </div>
                </div>
            </td>
        </tr>
    </table>
</div>
<script type="text/javascript">(tabstour=new TrTabs).init('tabs')</script>  